<?php

class Public_LoginSuccessView extends BlogPublicBaseView
{
	public function executeHtml(AgaviRequestDataHolder $rd)
	{
        // set the autologon cookie if requested
        if ($rd->hasParameter('remember')) {
            $this->getContext()->getUser()->rememberSession();
        }

        $referer = $rd->getHeader('REFERER');
        $this->getResponse()->setRedirect($referer);
	}
}

?>
